package com.qpx.jxcbiz.service;

import com.qpx.jxc.common.dto.GoodDto;
import com.qpx.jxcbiz.entity.TGoods;
import com.baomidou.mybatisplus.service.IService;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.beans.IntrospectionException;
import java.io.InputStream;
import java.lang.reflect.InvocationTargetException;
import java.text.ParseException;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Mht
 * @since 2020-05-22
 */
public interface ITGoodsService extends IService<TGoods> {

    public XSSFWorkbook downLoadGoodsExcel(GoodDto goodDto) throws InvocationTargetException, ClassNotFoundException, IntrospectionException, ParseException, IllegalAccessException;

    public void uploadExcel(InputStream inputStream, String getOriginalFilename) throws Exception;


}
